#pragma once
#ifndef _CONFIGFILE_HH_HH
#define _CONFIGFILE_HH_HH

#include <iostream>
#include <fstream>
#include <string>
#include <unordered_map>

class ConfigFile
{
public:
	ConfigFile(const std::string& filename);
	~ConfigFile();

	void load();

	void save();

	bool get(const std::string& key, std::string& value);

	void set(const std::string& key, const std::string& value);

private:
	std::string m_filename;
	std::unordered_map<std::string, std::string> m_params;
};
#endif	//_CONFIGFILE_HH_HH